﻿// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.

namespace Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch;

public interface IElasticClientProvider
{
    (IElasticClient ElasticClient, IMasaElasticClient MasaElasticClient) GetClient(ElasticsearchOptions elasticsearchOptions);

    void TryRemove(ElasticsearchOptions elasticsearchOptions);
}
